package com.squid.base.common.annotation.enable;

import com.squid.base.config.filter.FeignRequestFilter;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 启用Feign的header传递
 *
 * @author jinhang1
 * @date 2024/07/18
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(FeignRequestFilter.class)
public @interface EnableFeignTransmit {
}
